package com.ruoyi.chat.domain;

import java.io.Serializable;
import java.util.List;

/**
 * 表格分页数据对象
 */
public class PageData<T> implements Serializable {
    private static final long serialVersionUID = 1L;

    private Object page;

    private List<T> data;

    public PageData() {
    }

    public PageData(Object page, List<T> data) {
        this.page = page;
        this.data = data;
    }

    public Object getPage() {
        return page;
    }

    public void setPage(Object page) {
        this.page = page;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
